package com.nbstar.film.spider.domain;

public class FilmSpiderDomain extends SpiderDomain {
    public static final String SPIDER_FROM_DOUBAN = "DOUBAN";
    public static final String SPIDER_FROM_IMDB = "IMDB";
    public static final String SPIDER_FROM_MAOYAN = "MAOYAN";
    public static final String SPIDER_FROM_TVMAO_TV = "TVMAO_TV";
    public static final String SPIDER_FROM_TVMAO_FILM = "TVMAO_FILM";
    public static final String SPIDER_FROM_BAIKE = "BAIKE";
    public static final String SPIDER_FROM_YOUKU = "YOUKU";
    public static final String SPIDER_FROM_IQY = "IQY";
    public static final String SPIDER_FROM_QQ  = "qq";

    public boolean isFinished() {
        if (this.getSpiderResult().get(SPIDER_FROM_DOUBAN) != null
                && this.getSpiderResult().get(SPIDER_FROM_IMDB) != null
                && this.getSpiderResult().get(SPIDER_FROM_MAOYAN) != null
                && this.getSpiderResult().get(SPIDER_FROM_TVMAO_TV) != null)
        {
            return true;
        }

        return false;
    }


}
